# coding:utf-8
# @Time : 2021/5/5 18:15 
# @Author : minuy
# @File : main.py

from flask import request, url_for, redirect, flash, render_template
from flask_login import login_required, current_user

from . import web


@web.route('/')
@login_required
def index():
    print(current_user.username)
    return render_template('main.html', user=current_user)
